﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using System.ServiceModel;
using System.Runtime.Serialization;

using System.ComponentModel;

using MSAP.ObjectsStore;

namespace Data
{
    [DataContract]
    public partial class  Note : RecordBase<Note>
    {
        [DataMember]
        public DateTime Date 
        { 
            get {return m_Date;}
            set 
            {
                if (m_Date != value)
                {
                    m_Date = value;
                    RaisePropertyChanged("Date");
                }
            }
        }
        [DataMember]
        public string Titre 
        { 
            get {return m_Titre;}
            set
            {
                if (m_Titre != value)
                {
                    m_Titre = value;
                    RaisePropertyChanged("Titre");
                }
            }
        }
        [DataMember]
        public string Description 
        { 
            get {return m_Description;}
            set
            {
                if (m_Description != value)
                {
                    m_Description = value;
                    RaisePropertyChanged("Description");
                }
            }
        }

        #region Fields
        DateTime m_Date;
        string m_Titre;
        string m_Description;
        #endregion

    }
}
